import { createStore, combineReducers, applyMiddleware } from "redux";
import { calculator } from "./reducer"; // 导入所以的reducer

const rootReducer = combineReducers({
  calculator
  // navi,
  // user,
});

const store = createStore(rootReducer);

export const getStore = () => {
  return store;
};
